import { ApiConfig } from 'src/environments/environment';
import { Component, OnInit } from '@angular/core';
import { NzModalRef } from 'ng-zorro-antd/modal';

@Component({
  templateUrl: './upload-file.component.html',
  styleUrls: ['./upload-file.component.scss']
})
export class UploadFileComponent implements OnInit {

  params!: any;

  uploadUrl = ApiConfig.upload.url;

  constructor(
    private modal: NzModalRef
  ) { }

  ngOnInit(): void {
  }


  confirm(): void {
    this.modal.triggerOk();
    this.modal.close();
    this.modal.destroy();
  }
}
